.PHONY:all
all:server client

server:TcpServerMain.cpp
	g++ -o $@ $^ -std=c++14 -lpthread -ljsoncpp
client:TcpClientMain.cpp
	g++ -o $@ $^ -std=c++14 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -rf server client